body,
dl,
dd,
ul,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
input,
textarea,
p,
hr,
thead,
tbody,
tfoot,
th,
td {
  margin: 0;
  padding: 0;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
}

a:active {
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

html {
  -ms-text-size-adjust: none;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

body,
button,
input,
select,
textarea {
  font-family: Arial, "Microsoft YaHei", STHeiti, SimHei;
}

.restart-box {
  display: none;
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  background-image: url(../images/game_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.title-score {
  margin-top: 7%;
  margin-bottom: 20vw;
  font-size: 6vw;
  font-weight: bold;
  text-align: center;
  color: #fff;
}

.current-score {
  color: #d7703e;
  font-size: 9vw;
}

.score-title {
  position: absolute;
  top: 3%;
  left: 50%;
  transform: translateX(-50%);
  width: 60%;
  height: 67px;
  font-size: 24px;
  line-height: 67px;
  text-align: center;
  color: #fff;
  border-radius: 50px;
  background: #15cafe;
}

.result-bg {
  display: block;
  margin: 0 auto;
  width: 90%;
}

.score-list-box {
  position: relative;
  margin-top: 7%;
}

.score-list {
  position: absolute;
  top: 17%;
  left: 50%;
  transform: translateX(-50%);
  width: 75%;
  height: 75%;
  overflow-y: auto;
}

.score-li {
  overflow: hidden;
}

.score-li+.score-li {
  margin-top: 3%;
}

.result-header {
  float: left;
}

.user-name {
  float: left;
  margin-left: 8%;
  font-size: 24px;
  line-height: 132px;
  color: #fff;
}

.self-score {
  float: right;
  font-size: 24px;
  color: #fc2658;
  line-height: 132px;
}

.self-score-span {
  font-size: 64px;
}

.again {
  display: block;
  margin: 5% auto 0;
  width: 60vw;
}

.share {
  display: block;
  margin: 3% auto 0;
  width: 60vw;
}

.result-again,
.result-share {
  width: 100%;
}

.restart {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 125px;
  font-size: 24px;
  color: #fff;
}

.share-page {
  display: none;
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  background-image: url(../images/game_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.share-icon {
  position: absolute;
  top: 20px;
  right: 40px;
  transform: rotate(90deg);
  z-index: 1;
}

/*music*/
.u-globalAudio {
  display: none;
  color: #fff;
  text-decoration: none;
  font-size: 24px;
  position: absolute;
  right: 40px;
  top: 180px;
}

.u-globalAudio span {
  position: absolute;
  left: -60px;
  top: 20px;
  text-shadow: 1px 1px 1px #000;
  letter-spacing: 2px;
  -webkit-transition: all .2s linear;
  opacity: 0;
  -webkit-transform: translateX(-20px);
}

.u-globalAudio .icon-music {
  width: 29px;
  height: 29px;
  /* background: url(../images/units-icons.png) 0 0; */
  background: url(../images/btn-music.png) 0 0;
  background-size: 100%;
  transform: scale(2);
  display: block;
}

.z-play .ani {
  animation: reverseRotataZ 1.2s linear infinite;
}

@keyframes reverseRotataZ {
  0% {
    transform: rotateZ(0deg) scale(2);
  }

  100% {
    transform: rotateZ(-360deg) scale(2);
  }
}

.share-page-input-box {
  position: absolute;
  top: 30%;
  left: 0;
  right: 0;
  width: 70%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.share-page-input {
  font-size: 2.6vw;
  margin-bottom: 2em;
  padding-left: 40px;
  padding-right: 10px;
  line-height: 4.2em;
  border: 1px solid #bfbfbf;
  border-radius: 0.5em;
}

.share-page-input-box input:-ms-input-placeholder {
  color: #ddd;
}

/* Internet Explorer 10+ */

.share-page-input-box input::-webkit-input-placeholder {
  color: #ddd;
}

/* WebKit browsers */

.share-page-input-box input::-moz-placeholder {
  color: #ddd;
}

/* Mozilla Firefox 4 to 18 */

.share-page-input-box input:-moz-placeholder {
  color: #ddd;
}

/* Mozilla Firefox 19+ */


.userrank-page {
  position: absolute;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.2);
  background-image: url(../images/game_bg.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.userrank-list {
  padding: 0 30px;
  margin-top: 36px;
}

.userrank-list li {
  padding: 30px 20px;
  font-size: 5vw;
}

.userrank-list li span {
  display: inline-block;
}

.userrank-list li+li {
  border-top: 2px solid #fff;
}

.rank-img {
  margin-right: 1em;
}

.rank-name {
  box-sizing: border-box;
  padding-left: 10px;
  width: 9em;
  overflow: hidden;
}

.rank-score {
  color: #d7703e;
  font-weight: 900;
}